package com.hxzy.driver.service;

import com.hxzy.driver.entity.Driver;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hxzy.drvier.req.RegisterNewDriverReq;

/**
* @author 11452
* @description 针对表【tb_driver(代驾司机表)】的数据库操作Service
* @createDate 2023-12-13 16:32:27
*/
public interface DriverService extends IService<Driver> {

    /**
     * 注册用户，返回新注册用户的id  主键
     * @param req
     * @return
     */
    String registerNewDriver(RegisterNewDriverReq req);

    /**
     * 司机人脸识别图片归档
     * @param driverId
     * @param photo
     * @return
     */
    String createDriverFaceModel(Long driverId, String photo);
}
